# Prime Preset v11 by notahuman
# https://notabug.org/notahuman/presets
# Comparison: https://imgsli.com/MTExNTYx https://imgsli.com/MTEwNzY5

## IMPORTANT: ##
# NFAA must be installed separately, it's not included in the crosire/reshade-shaders repository.
# If any of the shaders below do not exist, you will get a blank screen when launching the game.
# vkBasalt does not have fancy error handling, so you will have to launch from a terminal and look for error lines like "vkBasalt err: failed to load shader file".

effects = FakeHDR:NFAA:AdaptiveSharpen:Clarity

# Source: https://github.com/BlueSkyDefender/AstrayFX
NFAA            = /the/absolute/path/to/NFAA.fx
# Source: https://github.com/crosire/reshade-shaders
FakeHDR         = /usr/share/reshade/shaders/FakeHDR.fx
Clarity         = /usr/share/reshade/shaders/Clarity.fx
AdaptiveSharpen = /usr/share/reshade/shaders/AdaptiveSharpen.fx

reshadeTexturePath = "/usr/share/reshade/textures"
reshadeIncludePath = "/usr/share/reshade/shaders"

## FakeHDR ##
# Setting HDRPower higher makes dark things darker.
HDRPower=1.0831139
# The difference between radius1 and radius2 decides the peak brightness.
# Setting radius2 higher than radius1 makes bright things brighter.
radius1=0.9799997
radius2=1.0

## NFAA ##
#AA_Adjust=3
#Mask_Adjust=0.53
AA_Adjust=11
Mask_Adjust=0.187073

## Clarity ##
ClarityRadius=1
ClarityOffset=0.3333331
# blend mode 1 ~= 3
# blend mode 5 is much stronger than 3
ClarityBlendMode=3
ClarityBlendIfDark=0
ClarityBlendIfLight=179
# If you set this too high, some textures will look flat and washed out (oversharpened like an inverse depth-of-field effect).
ClarityStrength=0.3333331
ClarityDarkIntensity=0.59
ClarityLightIntensity=0.41

## AdaptiveSharpen ##
curve_height=0.284311
# Creates a bright outline around dark edges. If set too high, edges can appear jagged; highlighting sharp edges prevents them from blending out.
L_compr_low=0.167
L_compr_high=0.36277
# Darkens dark edges. Charcoal lips if you set this too high
# 1080p
#D_compr_low=1.203283
# 1440p
D_compr_low=0.727747
# Darkens edge-adjacent pixels. This resembles cel shading. Shadows, reflections, distant detail, and text appears muddy if you set this too high.
# 1080p
#D_compr_high=1.555553
# 1440p
D_compr_high=0.688867

depthCapture = off
toggleKey = Insert